var shopAbnormal = {};
//页面加载事件
$(function(){
    //初始化标签页
    shopAbnormal.methods.tabInit(this);
    //初始化滚动
    shopAbnormal.methods.SliderInit(this);
});
shopAbnormal.data = {};
shopAbnormal.addEvent =function(obj){};
shopAbnormal.methods = {};
//初始化tab
shopAbnormal.methods.tabInit =function(obj){
    $(".shop-tabcontrol").each(function(val){
        var tab = new Controller.TabControl({
            container:$(this),
            tabNavItem:".shop-tab-nav-item",
            tabConItem:".shop-tab-con-item",
            tagName:"data-id",
            event:"mouseover"
        });
    });
};
//初始化滚动
shopAbnormal.methods.SliderInit = function(obj){
    $(".shop-container").each(function(val){
        Controller.Slider({
            father: $(this),
            container:".shop-goods-list ul",
            prevBtn: ".shop-left-nav",
            nextBtn: ".shop-right-nav",
            itemSelector: "li",
            fatherSize: 1440
        });
    });
}